/**
 */
package fUML.Semantics.Actions.BasicActions.impl;

import fUML.Semantics.Actions.BasicActions.ActionActivation;
import fUML.Semantics.Actions.BasicActions.BasicActionsFactory;
import fUML.Semantics.Actions.BasicActions.BasicActionsPackage;
import fUML.Semantics.Actions.BasicActions.CallActionActivation;
import fUML.Semantics.Actions.BasicActions.CallBehaviorActionActivation;
import fUML.Semantics.Actions.BasicActions.CallOperationActionActivation;
import fUML.Semantics.Actions.BasicActions.InputPinActivation;
import fUML.Semantics.Actions.BasicActions.InvocationActionActivation;
import fUML.Semantics.Actions.BasicActions.OutputPinActivation;
import fUML.Semantics.Actions.BasicActions.PinActivation;
import fUML.Semantics.Actions.BasicActions.SendSignalActionActivation;

import fUML.Semantics.Loci.LociL1.LociL1Package;

import fUML.Semantics.Loci.LociL1.impl.LociL1PackageImpl;

import fUML.Semantics.Loci.LociL2.LociL2Package;

import fUML.Semantics.Loci.LociL2.impl.LociL2PackageImpl;

import fUML.Semantics.Loci.LociL3.LociL3Package;

import fUML.Semantics.Loci.LociL3.impl.LociL3PackageImpl;

import fUML.Syntax.Actions.CompleteActions.CompleteActionsPackage;

import fUML.Syntax.Actions.CompleteActions.impl.CompleteActionsPackageImpl;

import fUML.Syntax.Actions.IntermediateActions.IntermediateActionsPackage;

import fUML.Syntax.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl;

import fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage;

import fUML.Syntax.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage;

import fUML.Syntax.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.IntermediateActivities.IntermediateActivitiesPackage;

import fUML.Syntax.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl;

import fUML.Syntax.Classes.Kernel.KernelPackage;

import fUML.Syntax.Classes.Kernel.impl.KernelPackageImpl;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl;

import fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage;

import fUML.Syntax.CommonBehaviors.Communications.impl.CommunicationsPackageImpl;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class BasicActionsPackageImpl extends EPackageImpl implements BasicActionsPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass sendSignalActionActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass invocationActionActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass actionActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass outputPinActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass pinActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass inputPinActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass callActionActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass callBehaviorActionActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass callOperationActionActivationEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see fUML.Semantics.Actions.BasicActions.BasicActionsPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private BasicActionsPackageImpl() {
		super(eNS_URI, BasicActionsFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
	 * 
	 * <p>This method is used to initialize {@link BasicActionsPackage#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static BasicActionsPackage init() {
		if (isInited) return (BasicActionsPackage)EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI);

		// Obtain or create and register package
		BasicActionsPackageImpl theBasicActionsPackage = (BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BasicActionsPackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		BasicBehaviorsPackageImpl theBasicBehaviorsPackage = (BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) instanceof BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) : BasicBehaviorsPackage.eINSTANCE);
		CommunicationsPackageImpl theCommunicationsPackage = (CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI) instanceof CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI) : CommunicationsPackage.eINSTANCE);
		KernelPackageImpl theKernelPackage = (KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) instanceof KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) : KernelPackage.eINSTANCE);
		IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage = (IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) instanceof IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) : IntermediateActivitiesPackage.eINSTANCE);
		CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage = (CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI) instanceof CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI) : CompleteStructuredActivitiesPackage.eINSTANCE);
		ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage = (ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) instanceof ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) : ExtraStructuredActivitiesPackage.eINSTANCE);
		IntermediateActionsPackageImpl theIntermediateActionsPackage = (IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) instanceof IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) : IntermediateActionsPackage.eINSTANCE);
		CompleteActionsPackageImpl theCompleteActionsPackage = (CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) instanceof CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) : CompleteActionsPackage.eINSTANCE);
		fUML.Syntax.Actions.BasicActions.impl.BasicActionsPackageImpl theBasicActionsPackage_1 = (fUML.Syntax.Actions.BasicActions.impl.BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.Actions.BasicActions.BasicActionsPackage.eNS_URI) instanceof fUML.Syntax.Actions.BasicActions.impl.BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.Actions.BasicActions.BasicActionsPackage.eNS_URI) : fUML.Syntax.Actions.BasicActions.BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl theIntermediateActionsPackage_1 = (fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) : fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl theCompleteActionsPackage_1 = (fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) : fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eINSTANCE);
		fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage_1 = (fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eINSTANCE);
		fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) instanceof fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) : fUML.Semantics.Classes.Kernel.KernelPackage.eINSTANCE);
		LociL2PackageImpl theLociL2Package = (LociL2PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) instanceof LociL2PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) : LociL2Package.eINSTANCE);
		LociL3PackageImpl theLociL3Package = (LociL3PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) instanceof LociL3PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) : LociL3Package.eINSTANCE);
		LociL1PackageImpl theLociL1Package = (LociL1PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI) instanceof LociL1PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI) : LociL1Package.eINSTANCE);
		fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl theCommunicationsPackage_1 = (fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eINSTANCE);
		fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eINSTANCE);

		// Create package meta-data objects
		theBasicActionsPackage.createPackageContents();
		theBasicBehaviorsPackage.createPackageContents();
		theCommunicationsPackage.createPackageContents();
		theKernelPackage.createPackageContents();
		theIntermediateActivitiesPackage.createPackageContents();
		theCompleteStructuredActivitiesPackage.createPackageContents();
		theExtraStructuredActivitiesPackage.createPackageContents();
		theIntermediateActionsPackage.createPackageContents();
		theCompleteActionsPackage.createPackageContents();
		theBasicActionsPackage_1.createPackageContents();
		theIntermediateActionsPackage_1.createPackageContents();
		theCompleteActionsPackage_1.createPackageContents();
		theCompleteStructuredActivitiesPackage_1.createPackageContents();
		theExtraStructuredActivitiesPackage_1.createPackageContents();
		theIntermediateActivitiesPackage_1.createPackageContents();
		theKernelPackage_1.createPackageContents();
		theLociL2Package.createPackageContents();
		theLociL3Package.createPackageContents();
		theLociL1Package.createPackageContents();
		theCommunicationsPackage_1.createPackageContents();
		theBasicBehaviorsPackage_1.createPackageContents();

		// Initialize created meta-data
		theBasicActionsPackage.initializePackageContents();
		theBasicBehaviorsPackage.initializePackageContents();
		theCommunicationsPackage.initializePackageContents();
		theKernelPackage.initializePackageContents();
		theIntermediateActivitiesPackage.initializePackageContents();
		theCompleteStructuredActivitiesPackage.initializePackageContents();
		theExtraStructuredActivitiesPackage.initializePackageContents();
		theIntermediateActionsPackage.initializePackageContents();
		theCompleteActionsPackage.initializePackageContents();
		theBasicActionsPackage_1.initializePackageContents();
		theIntermediateActionsPackage_1.initializePackageContents();
		theCompleteActionsPackage_1.initializePackageContents();
		theCompleteStructuredActivitiesPackage_1.initializePackageContents();
		theExtraStructuredActivitiesPackage_1.initializePackageContents();
		theIntermediateActivitiesPackage_1.initializePackageContents();
		theKernelPackage_1.initializePackageContents();
		theLociL2Package.initializePackageContents();
		theLociL3Package.initializePackageContents();
		theLociL1Package.initializePackageContents();
		theCommunicationsPackage_1.initializePackageContents();
		theBasicBehaviorsPackage_1.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theBasicActionsPackage.freeze();

  
		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(BasicActionsPackage.eNS_URI, theBasicActionsPackage);
		return theBasicActionsPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSendSignalActionActivation() {
		return sendSignalActionActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getInvocationActionActivation() {
		return invocationActionActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getActionActivation() {
		return actionActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getActionActivation_PinActivations() {
		return (EReference)actionActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getActionActivation_Firing() {
		return (EAttribute)actionActivationEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getOutputPinActivation() {
		return outputPinActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getPinActivation() {
		return pinActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getPinActivation_ActionActivation() {
		return (EReference)pinActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getInputPinActivation() {
		return inputPinActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCallActionActivation() {
		return callActionActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getCallActionActivation_CallExecutions() {
		return (EReference)callActionActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCallBehaviorActionActivation() {
		return callBehaviorActionActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCallOperationActionActivation() {
		return callOperationActionActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public BasicActionsFactory getBasicActionsFactory() {
		return (BasicActionsFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		sendSignalActionActivationEClass = createEClass(SEND_SIGNAL_ACTION_ACTIVATION);

		invocationActionActivationEClass = createEClass(INVOCATION_ACTION_ACTIVATION);

		actionActivationEClass = createEClass(ACTION_ACTIVATION);
		createEReference(actionActivationEClass, ACTION_ACTIVATION__PIN_ACTIVATIONS);
		createEAttribute(actionActivationEClass, ACTION_ACTIVATION__FIRING);

		outputPinActivationEClass = createEClass(OUTPUT_PIN_ACTIVATION);

		pinActivationEClass = createEClass(PIN_ACTIVATION);
		createEReference(pinActivationEClass, PIN_ACTIVATION__ACTION_ACTIVATION);

		inputPinActivationEClass = createEClass(INPUT_PIN_ACTIVATION);

		callActionActivationEClass = createEClass(CALL_ACTION_ACTIVATION);
		createEReference(callActionActivationEClass, CALL_ACTION_ACTIVATION__CALL_EXECUTIONS);

		callBehaviorActionActivationEClass = createEClass(CALL_BEHAVIOR_ACTION_ACTIVATION);

		callOperationActionActivationEClass = createEClass(CALL_OPERATION_ACTION_ACTIVATION);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage theIntermediateActivitiesPackage_1 = (fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI);
		fUML.Syntax.Actions.BasicActions.BasicActionsPackage theBasicActionsPackage_1 = (fUML.Syntax.Actions.BasicActions.BasicActionsPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.Actions.BasicActions.BasicActionsPackage.eNS_URI);
		fUML.Semantics.Classes.Kernel.KernelPackage theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.KernelPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI);
		fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes
		sendSignalActionActivationEClass.getESuperTypes().add(this.getInvocationActionActivation());
		invocationActionActivationEClass.getESuperTypes().add(this.getActionActivation());
		actionActivationEClass.getESuperTypes().add(theIntermediateActivitiesPackage_1.getActivityNodeActivation());
		outputPinActivationEClass.getESuperTypes().add(this.getPinActivation());
		pinActivationEClass.getESuperTypes().add(theIntermediateActivitiesPackage_1.getObjectNodeActivation());
		inputPinActivationEClass.getESuperTypes().add(this.getPinActivation());
		callActionActivationEClass.getESuperTypes().add(this.getInvocationActionActivation());
		callBehaviorActionActivationEClass.getESuperTypes().add(this.getCallActionActivation());
		callOperationActionActivationEClass.getESuperTypes().add(this.getCallActionActivation());

		// Initialize classes and features; add operations and parameters
		initEClass(sendSignalActionActivationEClass, SendSignalActionActivation.class, "SendSignalActionActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(invocationActionActivationEClass, InvocationActionActivation.class, "InvocationActionActivation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(actionActivationEClass, ActionActivation.class, "ActionActivation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getActionActivation_PinActivations(), this.getPinActivation(), this.getPinActivation_ActionActivation(), "pinActivations", null, 0, -1, ActionActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEAttribute(getActionActivation_Firing(), ecorePackage.getEBoolean(), "firing", null, 1, 1, ActionActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		addEOperation(actionActivationEClass, ecorePackage.getEBoolean(), "fUML_isFiring", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(actionActivationEClass, null, "doAction", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(actionActivationEClass, null, "sendOffers", 1, 1, IS_UNIQUE, !IS_ORDERED);

		EOperation op = addEOperation(actionActivationEClass, null, "addPinActivation", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getPinActivation(), "pinActivation", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, this.getPinActivation(), "getPinActivation", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage_1.getPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, null, "putToken", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage_1.getOutputPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getValue(), "value", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, null, "putTokens", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage_1.getOutputPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getValue(), "values", 0, -1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, theKernelPackage_1.getValue(), "getTokens", 0, -1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage_1.getInputPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, theKernelPackage_1.getValue(), "takeTokens", 0, -1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicActionsPackage_1.getInputPin(), "pin", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, ecorePackage.getEBoolean(), "valueParticipatesInLink", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getValue(), "value", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getLink(), "link", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(actionActivationEClass, theKernelPackage_1.getBooleanValue(), "makeBooleanValue", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, ecorePackage.getEBoolean(), "value", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(outputPinActivationEClass, OutputPinActivation.class, "OutputPinActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(pinActivationEClass, PinActivation.class, "PinActivation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getPinActivation_ActionActivation(), this.getActionActivation(), this.getActionActivation_PinActivations(), "actionActivation", null, 0, 1, PinActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		initEClass(inputPinActivationEClass, InputPinActivation.class, "InputPinActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(callActionActivationEClass, CallActionActivation.class, "CallActionActivation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getCallActionActivation_CallExecutions(), theBasicBehaviorsPackage_1.getExecution(), null, "callExecutions", null, 0, -1, CallActionActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		addEOperation(callActionActivationEClass, theBasicBehaviorsPackage_1.getExecution(), "getCallExecution", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(callActionActivationEClass, null, "removeCallExecution", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage_1.getExecution(), "execution", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(callBehaviorActionActivationEClass, CallBehaviorActionActivation.class, "CallBehaviorActionActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(callOperationActionActivationEClass, CallOperationActionActivation.class, "CallOperationActionActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		// Create resource
		createResource(eNS_URI);
	}

} //BasicActionsPackageImpl
